package android.moodle;

import android.content.Context;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.util.AttributeSet;
import android.view.SurfaceHolder;
import android.view.SurfaceView;
import android.view.View;

/**
 * Created by IntelliJ IDEA.
 * User: akuryou
 * Date: 4/11/11
 * Time: 7:50 PM
 * To change this template use File | Settings | File Templates.
 */
public class GamePanel extends View
{
    private Paint paint;
    public GamePanel(Context context)
    {
        super(context);
        //paint = new Paint();
    }

    public void onDraw( Canvas canvas )
    {
        Paint paint = new Paint();
        canvas.scale(-3,-3);
        canvas.setViewport(100,100);
        canvas.drawColor(Color.BLUE);
        canvas.drawRect(1, 1, 1, 1, paint);
        //canvas.drawColor(Color.BLACK);
        //canvas.drawLine(0, 0, 1, 1, paint);
    }
}